import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import About from './About.vue'

// 根据URL的hash决定加载哪个组件
const appToMount = window.location.hash === '#/about' ? About : App

createApp(appToMount).mount('#app')
